

const api = {

	api : '/v1/pn/api',

	tables : '/v1/pn/db/tables',

	cols : '/v1/pn/db/cols',

	getsql : '/v1/pn/getsql',

	createApi : '/v1/pn/createApi',

	// ============== dlqapi ========================//

	// test : '/v1/pn/test',

	// login : '/v1/pn/login',


	// ============== dlqapi ========================//

	

	//userInfo : '/v1/pa/userinfo',

	// =================== 菜单/角色 ============================= //

	/**
	 * 登录后的菜单列表
	 */
	//menuList : '/api/ac/sc/menuService/newMenulist',

	/**
	 * 菜单列表
	 */
	//menuConfigList : '/api/as/sc/menu/getOneList',

	/**
	 * 菜单详情
	 */
	//menuInfo : '/api/as/sc/menu/getById',

	/**
	 * 菜单配置的接口列表
	 */
	//menuInterfaceList : '/api/ac/sc/menuService/getInForMenu',

	/**
	 * center列表
	 */
	//centerList : '/api/as/sc/dict/getDictInfoList?type=sys_center_type',

	/**
	 * center的接口列表
	 */
	//interfaceListByCenterCode : '/api/as/sc/menu/getForMenuList',

	/**
	 * 保存菜单。
	 */
	//updateMenu : '/api/ac/sc/menuService/updateMenu',

	/**
	 * 删除菜单,id
	 */
	//deleteMenu : '/api/ac/xagrid/PcGridMenuService/deleteMenu',

	/**
	 * 角色列表。
	 */
	//roleList : '/api/as/sc/role/getList',

	/**
	 * 角色详情
	 */
	//roleInfo : '/api/ac/sc/roleService/getById',

	/**
	 * 角色下的菜单
	 */
	//menuForRole : '/api/ac/sc/roleService/getMenuForRoleList',

	/**
	 * 设置角色下的菜单
	 */
	//setMenuForRole : '/api/ac/sc/roleService/setMenuForRole',

	// =================== 菜单/角色 ============================= //

	// =================== 同步接口 ============================= //

	/**
	 * 得到center列表
	 */
	//dictInfoList : '/api/as/sc/dict/getDictInfoList',

	/**
	 * 未同步的接口
	 */
	//isSyncList : '/api/ac/sc/systemFunction/isSync',

	/**
	 * 同步接口
	 */
	//updateSysFun : '/api/ac/sc/systemFunction/updateSysFun',
	// =================== 同步接口 ============================= //


	// =================== 提报的事件相关接口 ============================= //

	/**
	 * 事件列表
	 */
	//orderList : '/api/as/csc/auditorder/orderlist',

	/**
	 * 事件详情 code
	 */
	//orderInfo : '/api/as/csc/auditorder/orderinfo',

	/**
	 * 事件审批 code,state : 0 待审批 1 已审批 2 已办结 3 审批不通过 4 已填写（针对部分表单社区填写） 9 草稿
	 */
	//orderUpdate : '/api/as/csc/auditorder/updatestate0to13',


	//orderUpdate1to2 : '/api/as/csc/auditorder/updatestate1to2',

	/**
	 * 要件详情 item_id
	 */
	//documentInfo : '/api/as/csc/audititem/documentlist',

	// =================== 提报的事件相关接口 ============================= //



	//api : '/v2/pn/dlq',




	// ============= 网格 ======================//
	//login : '/api/xagrid/login',
	login : '/v1/pn/login',

	//菜单列表
	//menuConfigList : '/api/as/xagrid/pcmenu/list',
	menuConfigList : '/v1/pn/menu/list',

	//创建/修改菜单
	//createMenu : '/api/as/xagrid/pcmenu/create',
	createMenu : '/v1/pn/menu/create',

	roleList : '/v1/pn/role/list',

	roleOpt : '/v1/pn/role/opt',


	roleSetMenu : '/v1/pn/role/setmenu',

	getMenuByRoleId : '/v1/pn/menu/getmenubyroleid',


	//userList : '/api/as/xagrid/pcuser/userlist',
	userList : '/v1/pn/user/list',




	logout : '/api/xagrid/logout',

	grideList : '/api/as/xagrid/pcgrid/list',

	createGride : '/api/as/xagrid/pcgrid/create',

	// roleList : '/api/as/xagrid/pcrole/list',

	// createRole : '/api/as/xagrid/pcrole/create',
	
	// deleteRole : '/api/ac/xagrid/PcGridRoleService/deleteRole',
	//创建用户
	createUser : '/api/ac/xagrid/PcGridUserService/createUser',
	//修改
	updateUser : '/api/as/xagrid/pcuser/create',
	
	//删除菜单
	deleteMenu : '/api/ac/xagrid/PcGridMenuService/deleteMenu',
	

	//menuList : '/api/ac/xagrid/PcGridMenuService/menuList',
	menuList : '/v1/pa/menu/getusermenu',
	//角色设置菜单
	setMenuForRole : '/api/ac/xagrid/PcGridRoleService/setMenuForRole',//?role_id&menus

	getMenuForRole : '/api/as/xagrid/pcmenu/getrolemenulist', //?role_id
	//网格人员管理页面 -- 网格信息
	subGrideList : '/api/as/xagrid/pcgrid/chirdlist',
	//网格人员管理页面 -- 用户列表 grid_id
	subUserList : '/api/as/xagrid/pcuser/list',
	//网格人员管理页面 -- 企业信息
	subUnloadingList : '/api/as/xagrid/pccompany/list',
	//
	createUnloading : '/api/as/xagrid/pccompany/create',

	unloadingInfo : '/api/as/xagrid/pccompany/info',
	//网格人员管理页面 -- 成员单位信息
	subMemberList : '/api/as/xagrid/pcdepartment/list',

	createMember : '/api/ac/xagrid/PcGridMenuService/createDepartment',
	//字典
	getListByType : '/api/as/xagrid/pcdict/getlistbytypelist',
	//行业列表
	hangyeList : '/api/as/xagrid/pcindustrytype/list',
	//行业类型列表，分页
	hangyeListPage : '/api/as/xagrid/pcindustry/list',

	messageList : '/api/as/xagrid/pcnotice/list',

	createMessage : '/api/ac/xagrid/PcGridNoticeService/createNotice',

	messageInfo : '/api/as/xagrid/pcnotice/info',

	deleteMessage : '/api/as/xagrid/pcnotice/delete',

	createHelp : '/api/as/xagrid/pchelp/create',

	helpList : '/api/as/xagrid/pchelp/list',

	newsList : '/api/as/xagrid/pcnews/list',

	createNews : '/api/as/xagrid/pcnews/create',

	updateNewsState : '/api/as/xagrid/pcnews/updatestate',
	//撤消法律法规
	cxNewsState : '/api/as/xagrid/pcnews/updatecxstate',

	eventList : '/api/as/xagrid/pcevent/list',

	eventInfo : '/api/as/xagrid/pcevent/info',
	//事件流程详情
	flowInfo : '/api/ac/xagrid/PcGridEventService/flowInfo',
	//流程列表
	flowList : '/api/as/xagrid/pcevent/flowlist',
	//修改督办信息
	updatesupervise : '/api/as/xagrid/pcevent/updatesupervise',

	dictList : '/api/as/xagrid/pcdict/list',

	createDict : '/api/as/xagrid/pcdict/create',
	//人员在线统计
	onlinestatistics : '/api/as/xagrid/pcuser/peopleonlinelist',
	//案件统计
	eventstatistics : '/api/as/xagrid/pceventstatistics/eventlist',
	//问题统计
	questionstatistics : '/api/as/xagrid/pceventstatistics/questionlist',
	//网格企业统计
	companystatistics : '/api/as/xagrid/pceventstatistics/companylist',

	onlineList : '/api/as/xagrid/pcuser/onlinelist',

	
	//网格员轨迹
	userTrajectory : '/api/as/xagrid/pctrajectory/list',//?id=
	//概览
	overviewList : '/api/as/xagrid/pcgrid/homelist',
	//这个id的mapinfo，以及这个id下的子机构的mapinfo
	allChildrenList : '/api/as/xagrid/pcgrid/allchildrenlist',//?grid_id
	//网格列表 -- 详细信息
	homeGridInfo : '/api/as/xagrid/pcgrid/homegridinfo',
	//修改密码
	modifyPassword : '/api/ac/xagrid/PcGridUserService/updatePassword',
	//登录信息
	//userInfo : '/api/as/xagrid/pcuser/getuserinfo',
	userInfo : '/v1/pa/userinfo',
	// ============= 网格 ======================//

};


export default api;